package recycle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：后台管理员信息表实体类
* @author 孙冉
* @date 2019/07/22
*/
public class Admin implements Serializable {

   /**后台管理员ID*/
    private Integer adminId;
   /**登录名*/
    private String loginName;
   /**密码*/
    private String password;
   /**用户真实姓名*/
    private String adminName;
   /**证件号码*/
    private String identityCardNo;
   /**手机号*/
    private Integer mobilePhone;
   /**邮箱*/
    private String adminEmail;
   /**会员生日*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
   /**用户类型*/
    private Integer type;
   /**负责区域*/
    private String responsible;
   /**最后修改时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date modifiedTime;
   /**其他*/
    private String other1;
   /**其他*/
    private String other2;

    private String typeName;

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Admin(){}
    
    public Admin(Integer adminId,String loginName,String password,String adminName,String identityCardNo,Integer mobilePhone,String adminEmail,Date birthday,Integer type,String responsible,Date modifiedTime,String other1,String other2){
        this.adminId = adminId;
        this.loginName = loginName;
        this.password = password;
        this.adminName = adminName;
        this.identityCardNo = identityCardNo;
        this.mobilePhone = mobilePhone;
        this.adminEmail = adminEmail;
        this.birthday = birthday;
        this.type = type;
        this.responsible = responsible;
        this.modifiedTime = modifiedTime;
        this.other1 = other1;
        this.other2 = other2;
    }

   /**获取后台管理员ID属性的值*/
    public Integer getAdminId() {
        return this.adminId;
    }
   /**设置后台管理员ID属性的值*/
    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }
   /**获取登录名属性的值*/
    public String getLoginName() {
        return this.loginName;
    }
   /**设置登录名属性的值*/
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }
   /**获取密码属性的值*/
    public String getPassword() {
        return this.password;
    }
   /**设置密码属性的值*/
    public void setPassword(String password) {
        this.password = password;
    }
   /**获取用户真实姓名属性的值*/
    public String getAdminName() {
        return this.adminName;
    }
   /**设置用户真实姓名属性的值*/
    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }
   /**获取证件号码属性的值*/
    public String getIdentityCardNo() {
        return this.identityCardNo;
    }
   /**设置证件号码属性的值*/
    public void setIdentityCardNo(String identityCardNo) {
        this.identityCardNo = identityCardNo;
    }
   /**获取手机号属性的值*/
    public Integer getMobilePhone() {
        return this.mobilePhone;
    }
   /**设置手机号属性的值*/
    public void setMobilePhone(Integer mobilePhone) {
        this.mobilePhone = mobilePhone;
    }
   /**获取邮箱属性的值*/
    public String getAdminEmail() {
        return this.adminEmail;
    }
   /**设置邮箱属性的值*/
    public void setAdminEmail(String adminEmail) {
        this.adminEmail = adminEmail;
    }
   /**获取会员生日属性的值*/
    public Date getBirthday() {
        return this.birthday;
    }
   /**设置会员生日属性的值*/
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
   /**获取用户类型属性的值*/
    public Integer getType() {
        return this.type;
    }
   /**设置用户类型属性的值*/
    public void setType(Integer type) {
        this.type = type;
    }
   /**获取负责区域属性的值*/
    public String getResponsible() {
        return this.responsible;
    }
   /**设置负责区域属性的值*/
    public void setResponsible(String responsible) {
        this.responsible = responsible;
    }
   /**获取最后修改时间属性的值*/
    public Date getModifiedTime() {
        return this.modifiedTime;
    }
   /**设置最后修改时间属性的值*/
    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }
   /**获取其他属性的值*/
    public String getOther1() {
        return this.other1;
    }
   /**设置其他属性的值*/
    public void setOther1(String other1) {
        this.other1 = other1;
    }
   /**获取其他属性的值*/
    public String getOther2() {
        return this.other2;
    }
   /**设置其他属性的值*/
    public void setOther2(String other2) {
        this.other2 = other2;
    }
}
